# files
SRC = mem.cpp
OBJ = $(SRC:.cpp=.o)
OUT = libmemory.a

# options
SOURCE    = ../../src/
INCLUDES  = -I../../include

# compiler
CC = g++ -std=c++0x -Wall

$(OUT):	$(OBJ)
	ar rcs $(OUT) $(OBJ)

$(OBJ): %.o:	$(SOURCE)%.cpp
	$(CC) -c $(INCLUDES) $< -o $@

clean:
	rm *.o

